package com.springboot.mybatis.service;

import com.springboot.mybatis.entity.User;

import java.util.List;

/*
 *DATE:2025/7/9
 */
public interface UserService {
    User queryById(Integer id);

    List<User> queryByName(String name);

    List<User> queryAll();

    void addUser(User user);

    void deleteUserById(Integer id);

    void updateUser(User user);
}
